package com.cloud.product.repository;

import com.cloud.product.entity.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * describe:
 *
 * @author zhanghaixuan
 * @date 2018/08/28
 **/
public interface ProductInfoRepository extends JpaRepository<ProductInfo, String> {

	List<ProductInfo> findByProductStatusIs(Integer productStatus);

	List<ProductInfo> findByProductIdIn(List<String> productIds);

	ProductInfo findByProductName(String name);
}
